# This file is part of BlackArch Linux ( https://www.blackarch.org/ ).
# See COPYING for license details.

pkgname=zerowine
pkgver=0.0.2
pkgrel=10
pkgdesc='Malware Analysis Tool - research project to dynamically analyze the behavior of malware'
url='http://zerowine.sf.net/'
groups=('blackarch' 'blackarch-malware' 'blackarch-reversing')
license=('GPL')
depends=('python2')
arch=('any')
source=("http://downloads.sourceforge.net/zerowine/${pkgname}_vm-$pkgver-src.tar.gz")
sha512sums=('6cab75591c854fe23c062c5949324737c4b0b78571f761e03892242fdb7a885f9a94df21ca7989078a514dd9b898ddf4c5e0297fe1227134e2e4f9109c3274a5')

package() {
  # TODO: add something to /usr/bin.
  install -dm 755 "$pkgdir/usr/share/$pkgname/"

  cp -r "$srcdir/zerowine_vm/src"/* "$pkgdir/usr/share/$pkgname/"

  chmod 755 "$pkgdir/usr/share/$pkgname"/*.py
}

